package bookmanage.dto;

import java.util.List;

public class SearchResultDTO {
	private List searchList;
	private String searchMessage;
	private String keyword;
	private PagingDTO pdto;
	
	
	public SearchResultDTO(List searchList, PagingDTO pdto) {
		super();
		this.searchList = searchList;
		this.pdto = pdto;
	}
	public SearchResultDTO(List searchList, String searchMessage,
			String keyword, PagingDTO pdto) {
		super();
		this.searchList = searchList;
		this.searchMessage = searchMessage;
		this.keyword = keyword;
		this.pdto = pdto;
	}
	public SearchResultDTO(List searchList, String searchMessage, String keyword) {
		super();
		this.searchList = searchList;
		this.searchMessage = searchMessage;
		this.keyword = keyword;
	}
	public SearchResultDTO() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public PagingDTO getPdto() {
		return pdto;
	}
	public void setPdto(PagingDTO pdto) {
		this.pdto = pdto;
	}
	public List getSearchList() {
		return searchList;
	}
	public void setSearchList(List searchList) {
		this.searchList = searchList;
	}
	public String getSearchMessage() {
		return searchMessage;
	}
	public void setSearchMessage(String searchMessage) {
		this.searchMessage = searchMessage;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	@Override
	public String toString() {
		return "SearchResultDTO [searchList=" + searchList + ", searchMessage="
				+ searchMessage + ", keyword=" + keyword + "]";
	}
	
	
}
